package com.my.factory.simpleFactory;

import com.my.product.Product;
import com.my.product.ProductA;

/**
 * com.my.factory.simpleFactory
 * linwenjie
 * 2019-06-10
 * 测试类
 */
public class SimpleFactoryTest {

    public static void main(String[] args) {
        SimpleFactory factory = new SimpleFactory();
        Product product = factory.createProduct(ProductA.class);
        product.feature();
    }
}
